class player_data
{
public:
DWORD type,dpid;
char name[32];
void *data;
player_data()
{ memset(this,0,sizeof(player_data));};
};
Member | Type | Description |
---|---|---|
type | DWORD | player type (client or server) |
dpid | DWORD | direct play player id |
name | char[] | player name |
data | void * | player generic data |
None
This class hold information on players in a multiplayer game. Usualy the data part of the class points to the player bsp_object.